package com.hyy.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@RefreshScope//配置热更新
@ConfigurationProperties(prefix="auth.white")//有这个白名单才去注入
public class AuthWhiteName {
    private List<String> url;
}
